package com.heima.DIYMySpring.entity;

import com.heima.DIYMySpring.annotaitons.Component;
import com.heima.DIYMySpring.annotaitons.Value;
import lombok.Data;

/**
 * @Author: Ethan Yankang
 * @Program: SpringBilibili
 * @Date: 2024-09-02 17:46
 **/
@Data
@Component
//@Component("MyAccount")
public class Account {
    @Value("1")
    private Integer id;
    @Value("EthanYanknag")
    private String name;
    @Value("22")
    private Integer age;
}
